From fc115476216f364d947804cce2202b428d8afd6f Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 20 Dec 2023 17:07:02 +0000 Subject: Rename PatioCodeGen to ShidToPatio --- ...mpiler.testing.snapshots.Snapshotter)].expected | 82 ---------------------- 1 file changed, 82 deletions(-) delete mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenSwitchTests]/[method:canGenerateCodeForSwitchWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenSwitchTests]/[method:canGenerateCodeForSwitchWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenSwitchTests]/[method:canGenerateCodeForSwitchWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenSwitchTests]/[method:canGenerateCodeForSwitchWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 0c51dc6c..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenSwitchTests]/[method:canGenerateCodeForSwitchWithSingleResult(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,82 +0,0 @@ -Compilation unit elements: - -( - function-decl - "shed__runtime__int_create" - params=((param "value" int)) - return-type=int -) -( - function-decl - "shed__runtime__int_add" - params=((param "left" int) (param "right" int)) - return-type=int -) - -Locals: - * (val "tmp__0" int) - * (val "switchTag__0" int) - * (val "structValuePointer__0" data-ptr) - * (val "int__0" int) - * (val "int__1" int) - * (val "binaryOpResult__0" int) - * (val "int__2" int) - * (val "int__3" int) - * (val "binaryOpResult__1" int) - -Instructions: - -( - (int-to-data-ptr (local "structValuePointer__0") (local "condition")) - ( - memory-load - (local "switchTag__0") - pointer=(local "structValuePointer__0") - layout=(struct ((struct (data-ptr int int int)) (struct (int)))) - offset=(1 0) - ) - ( - switch - ((local "tmp__0")) - (local "switchTag__0") - ( - ( - case - 0 - ( - block - ( - (call (local "int__0") "shed__runtime__int_create" ((int 1))) - (call (local "int__1") "shed__runtime__int_create" ((int 2))) - (call (local "binaryOpResult__0") "shed__runtime__int_add" ((local "int__0") (local "int__1"))) - ) - results=((local "binaryOpResult__0")) - ) - ) - ( - case - 1 - ( - block - ( - (call (local "int__2") "shed__runtime__int_create" ((int 101))) - (call (local "int__3") "shed__runtime__int_create" ((int 102))) - (call (local "binaryOpResult__1") "shed__runtime__int_add" ((local "int__2") (local "int__3"))) - ) - results=((local "binaryOpResult__1")) - ) - ) - ) - ( - block - ( - (unreachable) - ) - results=() - ) - ) -) - -Temporary stack: - * PatioLocalRef[name=tmp__0] - * PatioLocalRef[name=other] -- cgit v1.2.3